var limsMaterialOut = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {
            field : 'matCode',
            title : 'T_LIMS_MATERIAL_OUT.MATCODE'
        }, {
            field : 'batchNo',
            title : 'T_LIMS_MATERIAL_OUT.BATCHNO'
        }, {
            field : 'matName',
            title : 'T_LIMS_MATERIAL_OUT.MATNAME'
        }, {
            field : 'purpose',
            title : 'T_LIMS_MATERIAL_OUT.PURPOSE'
        }, {
            field : 'remark',
            title : 'T_LIMS_MATERIAL_OUT.REMARK'
        }, {
            field : 'reviewRemark',
            title : 'T_LIMS_MATERIAL_OUT.REVIEWREMARK'
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'matCode',
            title : 'T_LIMS_MATERIAL_OUT.MATCODE',
            validators : [ 'strLength[0,10]' ]
        }, {
            field : 'batchNo',
            title : 'T_LIMS_MATERIAL_OUT.BATCHNO',
            validators : [ 'strLength[0,8]' ]
        }, {
            field : 'matName',
            title : 'T_LIMS_MATERIAL_OUT.MATNAME',
            validators : [ 'strLength[0,40]' ]
        }, {
            field : 'purpose',
            title : 'T_LIMS_MATERIAL_OUT.PURPOSE',
            validators : [ 'strLength[0,50]' ]
        }, {
            field : 'remark',
            title : 'T_LIMS_MATERIAL_OUT.REMARK',
            validators : [ 'strLength[0,66]' ]
        }, {
            field : 'reviewRemark',
            title : 'T_LIMS_MATERIAL_OUT.REVIEWREMARK',
            validators : [ 'strLength[0,66]' ]
        }, ];
    },

    getAuditListColumns : function() {
        return [ {
            checkbox : true
        }, Gikam.status.getBpmnColumn(limsMaterialOut.workflow.dbTable), {
            field : 'matCode',
            title : 'T_LIMS_MATERIAL_OUT.MATCODE'
        }, {
            field : 'batchNo',
            title : 'T_LIMS_MATERIAL_OUT.BATCHNO'
        }, {
            field : 'matName',
            title : 'T_LIMS_MATERIAL_OUT.MATNAME'
        }, {
            field : 'purpose',
            title : 'T_LIMS_MATERIAL_OUT.PURPOSE'
        }, {
            field : 'remark',
            title : 'T_LIMS_MATERIAL_OUT.REMARK'
        }, {
            field : 'reviewRemark',
            title : 'T_LIMS_MATERIAL_OUT.REVIEWREMARK'
        } ];
    },

    getSearchListColumns : function() {
        return [ {
            checkbox : true
        }, Gikam.status.getBpmnColumn(limsMaterialOut.workflow.dbTable), {
            field : 'matCode',
            title : 'T_LIMS_MATERIAL_OUT.MATCODE'
        }, {
            field : 'batchNo',
            title : 'T_LIMS_MATERIAL_OUT.BATCHNO'
        }, {
            field : 'matName',
            title : 'T_LIMS_MATERIAL_OUT.MATNAME'
        }, {
            field : 'purpose',
            title : 'T_LIMS_MATERIAL_OUT.PURPOSE'
        }, {
            field : 'remark',
            title : 'T_LIMS_MATERIAL_OUT.REMARK'
        }, {
            field : 'reviewRemark',
            title : 'T_LIMS_MATERIAL_OUT.REVIEWREMARK'
        } ];
    },

    getChooseListColumns : function() {
        return [ {index: true},{
            field : 'matCode',
            title : 'T_LIMS_MATERIAL_OUT.MATCODE'
        }, {
            field : 'batchNo',
            title : 'T_LIMS_MATERIAL_OUT.BATCHNO'
        }, {
            field : 'matName',
            title : 'T_LIMS_MATERIAL_OUT.MATNAME'
        }, {
            field : 'purpose',
            title : 'T_LIMS_MATERIAL_OUT.PURPOSE'
        }, {
            field : 'remark',
            title : 'T_LIMS_MATERIAL_OUT.REMARK'
        }, {
            field : 'reviewRemark',
            title : 'T_LIMS_MATERIAL_OUT.REVIEWREMARK'
        }, ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/rm/material-outs'
});
